<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<title>查看纸版文档</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/add-paper-mold-document.css">
</head>
<body>

	<div class="container">


		<form action="AddPaperMoldDocument" method="post">



			<ul class="ul-1">

				<li class="li-1">

					<p class="big-title">发布纸版文档</p>

				</li>

				<li class="li-1">
					<!-- 标题 --> <span class="title">标题：</span> <input class="input-1"
					readonly="readonly" value="${paperMoldDocument.title}" name="title"
					type="text"> <span class="errMsg">${titleErr}</span>
				</li>


				<li class="li-1">
					<!-- 卷号 --> <span class="title">卷码：</span> <input class="input-1"
					readonly="readonly" value="${paperMoldDocument.rollNum}"
					name="rollNum" type="text"> <span class="errMsg"></span>
				</li>


				<li class="li-1">
					<!-- 位置 --> <span class="title">位置：</span> <input class="input-1"
					readonly="readonly" value="${paperMoldDocument.location}"
					name="location" type="text"> <span class="errMsg"></span>
				</li>

				<li class="li-1">
					<!-- 密级 --> <span class="title">密级：</span> <select class="select-1"
					disabled="disabled" name="thick">
						<option ${paperMoldDocument.thick==1?"selected=\"selected\"":""}
							value="1">个人 - 仅自己可见，无需管理员审核</option>
						<option ${paperMoldDocument.thick==2?"selected=\"selected\"":""}
							value="2">部门 - 仅所在部门人员可见，需要管理员审核</option>
						<option ${paperMoldDocument.thick==3?"selected=\"selected\"":""}
							value="3">企业 - 所在企业任何人员可见，需要管理员审核</option>
						<option ${paperMoldDocument.thick==4?"selected=\"selected\"":""}
							value="4">公告 - 所有人员可见（包括未登录）只能由管理员发布</option>
				</select> <span class="errMsg">${thickErr}</span>

				</li>


				<li class="li-1"><span class="title">审核：</span> <input
					readonly="readonly" class="input-1"
					value='${paperMoldDocument.audit==0?"待审核":""||paperMoldDocument.audit==1?"通过":""||paperMoldDocument.audit==2?"未通过":""}'
					name="location" type="text"> <span class="errMsg"></span></li>


				<li class="li-1"><span class="title">发布时间：</span> <input
					readonly="readonly" class="input-1"
					value='<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss"
										value="${paperMoldDocument.publishDate}" type="both" />'
					name="location" type="text"> <span class="errMsg"></span></li>




				<li class="li-1"><span class="title">修改时间：</span> <input
					readonly="readonly" class="input-1"
					value='<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss"
										value="${paperMoldDocument.updateDate}" type="both" />'
					name="location" type="text"> <span class="errMsg"></span></li>



				<li class="li-2">
					<!-- 摘要 --> <span class="title">描述：</span> <textarea
						readonly="readonly" name="description" class="textarea-1">${paperMoldDocument.description}</textarea>
				</li>



				<li class="li-1"><input class="reset" type="reset"
					disabled="disabled" value="重置"> <input class="submit"
					type="submit" disabled="disabled" value="提交"></li>


			</ul>








		</form>


	</div>

</body>
</html>